package collectors;

import data.Office;
import java.util.ArrayList;
import java.util.List;
import parser.txtParser;

/**
 *
 * @author David Csejtei, CodeGuide Team, http://codeguide.hu
 */
public class OfficeCollector extends Thread {
    
    /*public List<Office> offices = new ArrayList<Office>();
    private final static OfficeCollector COLLECTOR = new OfficeCollector();
    
    private OfficeCollector()
    {
        if(offices != null)
            offices = txtParser.readOfficesFromTxt();
    }

    public static OfficeCollector getInstance()
    {
        return COLLECTOR;
    }
    
    public List<Office> getOfficeList() {
        return offices;
    }
    
    @Override
    public void run() {
        System.out.println("OfficeCollector run.");
    }*/
    
}
